<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<div class="layui-tab layui-tab-brief" th:fragment="tab">
    <ul class="layui-tab-title">
        <li th:if="${#authPermit.checkPermit('/serv/showCateg/detail.action')}" th:class="${flag == 1 ? 'layui-this' : ''}"><a th:href="|/serv/showCateg/detail.action?categId=${servCategory.categId}|" lay-text="修改前台服务分类">修改</a></li>
        <li th:if="${#authPermit.checkPermit('/serv/showCateg/classifyProduct.action')}" th:class="${flag == 2 ? 'layui-this' : ''}"><a th:href="|/serv/showCateg/classifyProduct.action?servCategId=${servCategory.categId}|" lay-text="关联产品分类">关联产品分类</a></li>
    </ul>
</div>

</html>